<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript">
			// 定义一个函数
			function test(){
				alert('hello!');
			}
			
			test();
		</script>
	</head>
	<body>
		<h1>函数</h1>
	</body>
</html>
